It is the macro sample document of LightWayText. It is read with Macro Editor and use.
How to install macro sample
1. "Macro Editor" from Key Macro menu of LightWayText is carried out.
2. "Read..." button of Macro Editor is pushed, and Open Dialog is indicated.
3. Macro sample which it wants to install is chosen, and "Open" button
pushed.
4. It is repeated 2. and 3., All the macro sample which it wants to use
are read.
5. A macro sample is registered in the Key Macro menu.
How to remove an installed macro sample
1. "Define Key Macro..." from Key Macro menu is carried out.
2. Macro Name which it wants to remove with Define Key Macro Dialog is
chosen, and "Delete" button is pushed.
3. A macro sample is removed form Key Macro menu.
Explanation of the macro sample
Calender1999
When numerical value from 1 to 12 is inputted with input dialog, that month calendar is made.
1999 Year 3 Month
-------------------------------
Sun Mon Tue Wed Thu Fri Sat
-------------------------------
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
-------------------------------
Paste Date
Today's date is pasted.
It becomes a form to set up in "Date & Time" of Control Panels.
Sun, Mar 21, 1999
Paste Time
Present time is pasted.
It becomes a form to set up in "Date & Time" of Control Panels.
3:41 PM
Today's Date (Diary)
Today's date is pasted with the frame.
+--------------------------------------+
| Sun, Jan 31, 1999 Weather (Fine)|
+--------------------------------------+
Today's Date (Heisei)
Today's date is pasted with Heisei era of japan.
Heisei 11 Year 1 Month 31 Day (Sun)
Find (GREP)
When a find string is inputted with input dialog, the whole of the document is searched, and find result is put up on the new document window. A find result becomes the output form of the GREP tool, and available by "Tag Jump" macro.
Macro Editor Manual 1: Macro Editor Manual
Macro Editor Manual 3: 1. About Macro Editor
Macro Editor Manual 4: Macro Editor is the tool which edits the macro-program of LightWayText.
Macro Editor Manual 14: Macro Editor is indicated when "Macro Editor..." of the Edit - Key Macro
Macro Editor Manual 19: 2. Basic behavior of Macro Editor
Macro Editor Manual 20: When Macro Editor is opened, it becomes new macro editing condition.
Macro Editor Manual 25: menu, it is added to the Macro Contents list. The right of Macro Editor
Macro Editor Manual 43: command is indicated in the right macro command area of Macro Editor.
Macro Editor Manual 79: and macro contents are indicated on the editing screen of Macro Editor.
Macro Editor Manual 96: command editing area of Macro Editor.
Tag Jump
"Find (GREP)" macro find result is used, and tag jump is done. When the text document of the place of the jump isn't open, the document list of Recent menu is searched, and if it is found, a document is opened and it jumps. Else, if it isn't found, error alert is shown and it terminate.
Sort
The line of the selection range is rearranged in little order.
When it is carried out without range selection, the whole of the document becomes a execution object.
Auto Start Line#
When the number of lines is inputted with input dialog, a line number start is carried out automatically in every line number. It is used for the time and so on when it wants to begin a line number with 1 on every start line of the page.
Remove Space of Line End
It removes the unnecessary space code and tab code which is here at the end of the line of the selection range.
When it is carried out without range selection, the whole of the document becomes a execution object.
J-Space -> Space (Japanese script font only)
Two space code is replaced from J-Space (2 byte japanese space) code of the selection range.
When it is carried out without range selection, the whole of the document becomes a execution object.
J-Roman -> Romen (Japanese script font only)
Two roman code is replaced from J-Roman (2 byte japanese roman) code of the selection range.
When it is carried out without range selection, the whole of the document becomes a execution object.
Kana -> J-Kana (Japanese script font only)
J-Kana (2 byte japanese kana) code is replaced from kana (1 byte japanese kana) code of the selection range.
When it is carried out without range selection, the whole of the document becomes a execution object.
Space -> Tab of Line Head
A tab code is replaced from 4 space code in the head of the line of the selection range.
When it is carried out without range selection, the whole of the document becomes a execution object.
Tab -> Space of Line Head
Four space code is replaced from tab code in the head of the line of the selection range.
When it is carried out without range selection, the whole of the document becomes a execution object.
Undo (F1 key)
A undo command is assigned to function F1 key.
When a F1 key is pushed, it comes to be carried out.
Cut (F2 key)
A cut command is assigned to function F2 key.
When a F2 key is pushed, it comes to be carried out.
Copy (F3 key)
A copy command is assigned to function F3 key.
When a F3 key is pushed, it comes to be carried out.
Paste (F4 key)
A paste command is assigned to function F4 key.
When a F4 key is pushed, it comes to be carried out.
Selection -> Find/Replace...
The string of the selection range is set up in the find object, and "Find/Replace..." is carried out.
When a F5 key is pushed, it comes to be carried out.